package com.dfrz.household.service;

import com.dfrz.household.bean.Order;
import com.dfrz.household.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements IOrderService {
    @Autowired
    OrderMapper orderMapper;
    @Override
    public Integer insertOrder(Order order) {
       int count=orderMapper.insert(order);
       return  order.getOid();
    }
}
